import 'package:flutter_wanandroid_ohos/pages/simple/base_widgets/view.dart';
import 'package:flutter_wanandroid_ohos/pages/simple/dialog/dialog_view.dart';
import 'package:flutter_wanandroid_ohos/pages/simple/language/view.dart';
import 'package:flutter_wanandroid_ohos/pages/simple/load_container/view.dart';
import 'package:flutter_wanandroid_ohos/pages/simple/network/network_view.dart';
import 'package:flutter_wanandroid_ohos/pages/simple/permission/permission_view.dart';
import 'package:flutter_wanandroid_ohos/pages/simple/theme/view.dart';
import 'package:flutter_wanandroid_ohos/pages/simple/theme_color/theme_color_view.dart';
import 'package:flutter_wanandroid_ohos/pages/tab/tab_view.dart';
import 'package:flutter_wanandroid_ohos/routes/index.dart';
import 'package:getx_scaffold_ohos/getx_scaffold_ohos.dart';

import '../pages/splash/splash_binding.dart';
import '../pages/splash/splash_view.dart';

class AppPages {
  static final pages = [
    GetPage(
      name: RouteKey.root,
      page: () => const SplashPage(),
      binding: SplashBinding(),
    ),
    GetPage(name: RouteKey.tab, page: () => const TabPage()),
    GetPage(name: RouteKey.theme, page: () => const ThemePage()),
    GetPage(name: RouteKey.language, page: () => const LanguagePage()),
    GetPage(name: RouteKey.baseWidgets, page: () => const BaseWidgetsPage()),
    GetPage(name: RouteKey.loadContainer, page: () => const LoadContainerPage()),
    GetPage(name: RouteKey.themeColor, page: () => const ThemeColorPage()),
    GetPage(name: RouteKey.dialog, page: () => DialogPage()),
    GetPage(name: RouteKey.network, page: () => NetworkPage()),
    GetPage(name: RouteKey.permission, page: () => PermissionPage()),
  ];
}
